Skip to content

[PB-6473]: feat/add BridgeClient#58

Open
jzunigax2 wants to merge 4 commits into
feat/mail-quota-readfrom
feat/bridge-client
Open

[PB-6473]: feat/add BridgeClient#58
jzunigax2 wants to merge 4 commits into
feat/mail-quota-readfrom
feat/bridge-client

Conversation

@jzunigax2

Copy link
Copy Markdown
Contributor
  • Introduced BridgeModule and BridgeClient to handle interactions with the bridge API.
  • Added configuration for bridge API URL and private gateway secret.
  • Updated GatewayJwtStrategy to use the new drivePublicGateway secret.
  • Implemented UserStorage interface for managing user quota data.
  • Enhanced tests to reflect changes in configuration and secret handling.

@jzunigax2 jzunigax2 requested a review from xabg2 June 3, 2026 00:52
@jzunigax2 jzunigax2 self-assigned this Jun 3, 2026
@jzunigax2 jzunigax2 added the enhancement New feature or request label Jun 3, 2026
@jzunigax2 jzunigax2 mentioned this pull request Jun 3, 2026
@jzunigax2 jzunigax2 force-pushed the feat/mail-quota-read branch from 8757239 to d885451 Compare June 3, 2026 17:04
jzunigax2 added 2 commits June 3, 2026 11:28
- Introduced BridgeModule and BridgeClient to handle interactions with the bridge API.
- Added configuration for bridge API URL and private gateway secret.
- Updated GatewayJwtStrategy to use the new drivePublicGateway secret.
- Implemented UserStorage interface for managing user quota data.
- Enhanced tests to reflect changes in configuration and secret handling.
@jzunigax2 jzunigax2 force-pushed the feat/bridge-client branch from ff26c6b to 2c68d08 Compare June 3, 2026 17:28
@jzunigax2 jzunigax2 changed the title [PB-6473]: feat/add BridgeClient and clarify gateway auth secrets [PB-6473]: feat/add BridgeClient Jun 4, 2026
jzunigax2 added 2 commits June 3, 2026 21:56
- Added isProduction flag to BridgeClient for environment configuration.
- Updated JWT signing options to conditionally allow insecure key sizes based on the production flag.
- Modified unit tests to reflect changes in configuration and ensure proper functionality.
@sonarqubecloud

sonarqubecloud Bot commented Jun 8, 2026

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
7.0% Duplication on New Code (required ≤ 3%)

See analysis details on SonarQube Cloud

@jzunigax2 jzunigax2 marked this pull request as ready for review June 11, 2026 03:14
secrets: {
jwt: process.env.JWT_SECRET,
gateway: process.env.GATEWAY_PUBLIC_SECRET,
drivePublicGateway: process.env.GATEWAY_PUBLIC_SECRET,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would be better to use, e.g mailPublicGateway rather than drive...?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants